package com.ios.service;

import com.ios.dto.RelativeExecution;
import com.ios.entity.RelativeUser;
import org.springframework.stereotype.Service;

import java.io.InputStream;

@Service
public interface IRelativeService {
    /**
    *@Author:WenTao
    *@Description:监护人注册
    *@Date:9:48 2018/7/26
    */
    RelativeExecution RegisterRelativeUser (String username,String password_1,String password_2);

    /**
    *@Author:WenTao
    *@Description:监护人注册信息完善
    *@Date:16:03 2018/7/17
    */
    RelativeExecution CompleteRegisterRelativeUser(RelativeUser relativeUser
            , InputStream HeadImgInputStream
            , String fileName);

    /**
    *@Author:WenTao
    *@Description:监护人登录
    *@Date:22:56 2018/7/17
    */
    RelativeExecution LoginRelativeUser(String username,String password);

    /**
    *@Author:WenTao
    *@Description:监护人登录验证
    *@Date:15:35 2018/7/26
    */
    RelativeExecution CheckLoginRelativeUser(int id);

    /**
    *@Author:WenTao
    *@Description:根据用户名查询监护人基本信息
    *@Date:8:56 2018/7/18
    */
    RelativeExecution QueryRelativeUser(String username);

    /**
     *@Author:WenTao
     *@Description:监护人信息修改
     *@Date:15:51 2018/7/18
     */
    RelativeExecution EditRelativeInfo(RelativeUser relativeUser
            , InputStream HeadImgInputStream
            , String fileName);
}
